/*
 * @Author: Automator
 * @Date: 2018-05-22 18:19:08
 * @description: 
*/

 const  api = {

     /*
     * 方法描述:获取退出方列表,请求方式:GET,参数:eventExitSearchDto,返回值:List<EventExitVO>,是否可用:ok
     * @param eventId  事件ID  Required:[false]  Type:[integer]  Location:[query]
     */
    'eventExitPage': {url: '/cms/v2/api/event/exits', method: 'get'},

     /*
     * 方法描述:计算退出回报率,请求方式:PUT,参数:eventExitDto,返回值:BigDecimal,是否可用:ok
     * @param eventExitDto  eventExitDto  Required:[true]  Type:[]  Location:[body]
     */
    'computeIncomeCalculation': {url: '/cms/v2/api/event/exit/computeIncomeCalculation', method: 'put'},

     /*
     * 方法描述:添加退出方,请求方式:POST,参数:eventExitDto,返回值:JsonResult<Long>,是否可用:ok
     * @param eventExitDto  eventExitDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'saveEventExit': {url: '/cms/v2/api/event/exit', method: 'post'},

     /*
     * 方法描述:编辑退出方,请求方式:PUT,参数:eventExitDto,返回值:JsonResult,是否可用:ok
     * @param eventExitDto  eventExitDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'updateEventExit': {url: '/cms/v2/api/event/exit', method: 'put'},

     /*
     * 方法描述:删除退出方,请求方式:DELETE,参数:id,返回值:JsonResult,是否可用:ok
     * @param id  id  Required:[true]  Type:[integer]  Location:[path]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'deleteEventExit': {url: '/cms/v2/api/event/exit/{id}', method: 'delete'}

};

 export default api;
